package org.lds.message.center.alipay.enums;


import org.lds.message.center.common.enums.ErrCodeEnum;

public enum AlipayErrorEnum implements ErrCodeEnum {
    PLUGIN_CLOSED("ALIPAY_PLUGIN_CLOSED", "ALIPAY插件已关闭"),
    REQUEST_INVALID("ALIPAY_REQUEST_INVALID", "EmailRequest不合法"),
    REQUESTS_INVALID("ALIPAY_REQUESTS_INVALID", "EmailRequests不合法"),
    TEXT_INVALID("TEXT_INVALID", "text不合法"),
    ;

    private String code;
    private String message;

    AlipayErrorEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getErrCode() {
        return code;
    }

    @Override
    public String getErrMsg() {
        return message;
    }

}
